<template>
  <div>
    <page @current-change="a" :currentPage="currentPage" :page-size="1" :total="66" />
  </div>
</template>

<script>
import page from "./page";
export default {
  data() {
    return {
      currentPage: 1,
    };
  },
  methods: {
    a(e) {
      this.currentPage = e;
      console.log(e);
    },
  },
  components: {
    page,
  },
};
</script>

<style scoped>
</style>